import akshare as ak
import pprint
import sys
#stock_zh_a_hist_df = ak.stock_sector_detail('new_dlhy')#板块行情
# stock_zh_a_hist_df = ak.stock_zh_a_spot()#A股所有实时行情
stock_zh_a_hist_df = ak.stock_zh_a_minute('sh000035','5')#A股分时历史行情

# stock_zh_a_hist_df = ak.stock_info_a_code_name()#A股所有股票代码和名称
#stock_zh_a_hist_df = ak.stock_individual_info_em(symbol='833030')#A股所有股票代码和名称

# stock_zh_a_hist_df = ak.business_value_artist()#艺人商业价值
# stock_zh_a_hist_df = ak.online_value_artist()#艺人流量价值

# pprint.pprint(stock_zh_a_hist_df)
sys.stdout.write(stock_zh_a_hist_df.to_string())#打印全部内容